
package com.lnsystem.model.tk.quotedayhistorical;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "@id",
    "timeseries"
})
public class Response {

    @JsonProperty("@id")
    private String Id;
    @JsonProperty("timeseries")
    private Timeseries timeseries;
    @JsonIgnore
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();

    /**
     * 
     * @return
     *     The Id
     */
    @JsonProperty("@id")
    public String getId() {
        return Id;
    }

    /**
     * 
     * @param Id
     *     The @id
     */
    @JsonProperty("@id")
    public void setId(String Id) {
        this.Id = Id;
    }

    public Response withId(String Id) {
        this.Id = Id;
        return this;
    }

    /**
     * 
     * @return
     *     The timeseries
     */
    @JsonProperty("timeseries")
    public Timeseries getTimeseries() {
        return timeseries;
    }

    /**
     * 
     * @param timeseries
     *     The timeseries
     */
    @JsonProperty("timeseries")
    public void setTimeseries(Timeseries timeseries) {
        this.timeseries = timeseries;
    }

    public Response withTimeseries(Timeseries timeseries) {
        this.timeseries = timeseries;
        return this;
    }

    @JsonAnyGetter
    public Map<String, Object> getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

    public Response withAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
        return this;
    }

}
